#ifndef CONSTANTBUFFER_H
#define CONSTANTBUFFER_H

#include "Light.h"

#include <D3DX11.h>
#include <D3DX10math.h>

struct ConstantBuffer
{
	D3DXVECTOR4 TEST;
	D3DXMATRIX m_world;
	D3DXMATRIX m_view;
	D3DXMATRIX m_projection;
	D3DXMATRIX m_lightViewMatrix;
	D3DXMATRIX m_lightProjMatrix;
	Light light[3];
	D3DXVECTOR4 m_outputColour; // returns solid colour of any object e.g. light objects
	D3DXVECTOR2 m_texturePosition;
	D3DXVECTOR2 padding;
	D3DXVECTOR2 m_texturePosition2;
	D3DXVECTOR2 padding2;
	D3DXVECTOR3 m_cameraPosition;
	float padding1;
};

#endif //CONSTANTBUFFER_H